//用户接口相关的函数
import request from '../utils/requset'

//获取订单列表
export const orderList = (params)=>{
    return request.get('/order/list',{params})
}

//修改订单
export const orderEdit = (data)=>{
    return request.post('/order/edit',data)
}

//首页报表统计
export const orderTotalData = ()=>{
    return request.get('/order/totaldata')
}

//订单报告接口
export const orderTotal = (params)=>{
    return request.get('/order/ordertotal',{params})
}